package net.maku.member.convert;

import net.maku.member.entity.MemberDeptEntity;
import net.maku.member.vo.MemberDeptVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 部门管理
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-15
*/
@Mapper
public interface MemberDeptConvert {
    MemberDeptConvert INSTANCE = Mappers.getMapper(MemberDeptConvert.class);

    MemberDeptEntity convert(MemberDeptVO vo);

    MemberDeptVO convert(MemberDeptEntity entity);

    List<MemberDeptVO> convertList(List<MemberDeptEntity> list);

}